package com.sunday.member.entity.order;

import android.renderscript.Double2;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by 刘涛 on 2017/5/26.
 *
 * 订单确认
 */

public class OrderConfirm implements Serializable {


    /**
     * totalAmount : 29997.0
     * payAmount : 28797.0
     * memberId : null
     * type : 3
     * couponId : null
     * couponMsg : null
     * balance : null
     * isUserBalance : null
     * usedBalance : null
     * balanceMsgl : null
     * score : null
     * sendType : null
     * sendAmount : null
     * sendAddress : null
     * msg : null
     * shopId : null
     * shopName : null
     * products : [{"id":65,"createTime":"2017-05-09 15:59:30","createDate":"2017-05-09","cartId":13,"price":9599,"name":"Hasee/神舟 战神 Z7-KP7S1 i7 6G独显gtx1060游戏本笔记本电脑","number":"010002","image":"http://image.51huaguoshan.cn/upload/2017/5/57f88b6b-c377-45b8-8e04-569a82cc246a-1.jpg","standard":"5kg/台","num":3,"type":3,"status":0,"statusStr":"正常。","typeStr":"采购商品"}]
     * typeStr : 采购结算
     */

    private BigDecimal totalAmount;
    private BigDecimal payAmount;
    private Long memberId;
    private int type;
    private Integer couponId;
    private String couponMsg;
    private BigDecimal balance;
    private Integer isUserBalance;
    private BigDecimal usedBalance;
    private String balanceMsg;
    private BigDecimal score;
    private Integer sendType;
    private BigDecimal sendAmount;
    private String sendAddress;
    private String sendMsg;
    private String msg;
    private Integer shopId;
    private String shopName;
    private String typeStr;
    private List<OrderProduct> products;

    public String getSendMsg() {
        return sendMsg;
    }

    public void setSendMsg(String sendMsg) {
        this.sendMsg = sendMsg;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getCouponMsg() {
        return couponMsg;
    }

    public void setCouponMsg(String couponMsg) {
        this.couponMsg = couponMsg;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Integer getIsUserBalance() {
        return isUserBalance;
    }

    public void setIsUserBalance(Integer isUserBalance) {
        this.isUserBalance = isUserBalance;
    }

    public BigDecimal getUsedBalance() {
        return usedBalance;
    }

    public void setUsedBalance(BigDecimal usedBalance) {
        this.usedBalance = usedBalance;
    }

    public String getBalanceMsg() {
        return balanceMsg;
    }

    public void setBalanceMsg(String balanceMsg) {
        this.balanceMsg = balanceMsg;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public Integer getSendType() {
        return sendType;
    }

    public void setSendType(Integer sendType) {
        this.sendType = sendType;
    }

    public BigDecimal getSendAmount() {
        return sendAmount;
    }

    public void setSendAmount(BigDecimal sendAmount) {
        this.sendAmount = sendAmount;
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getTypeStr() {
        return typeStr;
    }

    public void setTypeStr(String typeStr) {
        this.typeStr = typeStr;
    }

    public List<OrderProduct> getProducts() {
        return products;
    }

    public void setProducts(List<OrderProduct> products) {
        this.products = products;
    }

}
